<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{$school['title']}</title>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width initial-scale=1.0 maximum-scale=1.0 user-scalable=yes" />
<link type="text/css" rel="stylesheet" href="{OSSURL}public/mobile/css/bindingFormFor.css" />
<link type="text/css" rel="stylesheet" href="{OSSURL}public/mobile/css/greenStyle.css?v=4.60120" />
<script type="text/javascript" src="{OSSURL}public/mobile/js/jquery-1.11.3.min.js?v=4.6"></script>
<script src="{OSSURL}public/mobile/js/jquery.js"></script>
<script src="{OSSURL}public/mobile/js/PromptBoxUtil.js"></script>
</head>
	<body>
		<div class="all">
			<div class="header mainColor">
				<div class="l">
					<a class="backOff" style="background:url({OSSURL}public/mobile/img/ic_arrow_left_48px_white.svg) no-repeat;background-size: 55% 55%;background-position: 50%;" href="javascript:history.go(-1);"></a>
				</div>
				<div class="m">
					<span>我的报名记录</span>
				</div>
			</div>
			<div class="_header"></div>
			{loop $list $row}
				<div class="bangdingForm" onclick="chack({$row['id']});">
					<div class="bangdingBox">
						<div class="headerBox3">
							<div class="headerinfo3">
								<span class="t">{$row['name']}的申请记录</span>
								<span class="r">{php echo date('Y-m-d H:m', $row['createtime'])}</span>
							</div>	
						</div>					
						<div class="infoBox2">
							<ul>
								<li>
									<span class="l">状&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;态：</span>
									<span class="r">{if $row['status'] == 1}审核中{else if $row['status'] == 2}已通过{else if $row['status'] == 3}未通过{/if}</span>
								</li>
								{if !empty($row['bmcost'])}
								<li>
									<span class="l">报名费用：</span>
									<span class="r">￥{$row['bmcost']}</span>
								</li>
								{if !empty($row['ispay'])}
								<li>
									<span class="l">付费状态：</span>
									<span class="r">{if $row['ispay'] == 1}未付费{else if $row['ispay'] == 2}已付费{else if $row['ispay'] == 3}有退费{/if}</span>
								</li>								
								{/if}
								{/if}
								<li>
									<span class="l">学生姓名：</span>
									<span class="r">{$row['name']}</span>
								</li>
								<li>
									<span class="l">预留手机：</span>
									<span class="r">{$row['mobile']}</span>
								</li>
								<li>
									<span class="l">性&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;别：</span>
									<span class="r">{if $row['sex'] ==1}男{else}女{/if}</span>
								</li>
								{if !empty($row['njname'])}
								<li>
									<span class="l">年&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;级：</span>
									<span class="r">{$row['njname']}</span>
								</li>
								{/if}
								{if !empty($row['bj_id'])}
								<li>
									<span class="l">班&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;级：</span>
									<span class="r">{$row['bjname']}</span>
								</li>
								{/if}
								{if !empty($row['birthday'])}
								<li>
									<span class="l">生&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;日：</span>
									<span class="r">{php echo date('Y-m-d', $row['birthday'])}</span>
								</li>
								{/if}								
								{if !empty($row['idcard'])}
								<li>
									<span class="l">身份证号：</span>
									<span class="r">{$row['idcard']}</span>
								</li>
								{/if}
								{if !empty($row['numberid'])}
								<li>
									<span class="l">学&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号：</span>
									<span class="r">{$row['numberid']}</span>
								</li>
								{/if}								
								{if !empty($row['passtime'])}
								<li>
									<span class="l">通过时间：</span>
									<span class="r">{php echo date('Y-m-d H:m', $row['passtime'])}</span>
								</li>
								{/if}					
							</ul>					
						</div>
						<div class="footerbox">
							<div class="footinfo">
							{if !empty($row['ispay'])}
								<span class="r">{if $row['ispay'] == 1}立刻前往付费{else if $row['ispay'] == 2}点击查看查看详情{else if $row['ispay'] == 3}点击查看查看详情{/if}</span>
							{else}
								<span class="r">点击查看查看详情</span>
							{/if}	
							</div>	
						</div>						
					</div>
				</div>
			{/loop}
		</div>
	</body>
<script type="text/javascript">
var PB = new PromptBox();

function chack(id){
	window.location.href = "{php echo $this->createMobileUrl('signupjc', array('schoolid' => $schoolid), true)}" + "&id=" + id;
}
</script>
</html>